package com.fz.us.oa.core.service.com.impl;

import com.fz.us.admin.base.dao.BaseDao;
import com.fz.us.admin.base.service.impl.BaseServiceImpl;
import com.fz.us.admin.company.entity.User;
import com.fz.us.oa.core.dao.com.StartExamDao;
import com.fz.us.oa.core.entity.com.StartExam;
import com.fz.us.oa.core.service.com.StartExamService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by dzw on 2017/12/14.
 */
@Service
public class StartExamServiceImpl extends BaseServiceImpl<StartExam,String> implements StartExamService {

    @Resource
    private StartExamDao startExamDao;

    @Override
    public BaseDao<StartExam, String> getBaseDao() {
        return startExamDao;
    }

    @Override
    public int delByModuleAndUser(String moduleName, User user) {
        return startExamDao.delByModuleAndUser(moduleName, user);
    }
}
